import 'package:flutter/material.dart';
import 'package:study_flutter/yzhg/project/shop/model/CateGoodsBean.dart';
import 'package:study_flutter/yzhg/project/shop/model/YCatagoryBean.dart';

class CategoryGoodsListProvide with ChangeNotifier {
  List<CateGoodsListBean> goodsList = [];

  String categoryId = "";
  String categorySubId = "";

  int page;
  //点击大类时更换商品列表
  getGoodsList(List<CateGoodsListBean> list, String categoryId,
      String categorySubId,int page) {
    this.goodsList = list;
    this.categoryId = categoryId;
    this.categorySubId = categorySubId;
    this.page = page;
    notifyListeners();
  }
}
